package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum AdvertiseLocation {
    startup(0, "开屏"),
    banner(1, "横幅"),
    index(2, "首页"),
    other(3, "其他"),
    online_paid(4, "线上付款"),
    home_banner(5, "主页轮播"),
    recharge(6, "充值"),
    after_hail(7, "接单后");

    @EnumValue
    private final int code;
    private final String desc;

    AdvertiseLocation(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
